import React, { Component } from 'react'
import RouterView from '../../router'
import Header from './header'

export default class Home extends Component {
    render() {
        console.log('Home',this.props);
        return (
            <div>
                <header>
                    <Header routes={this.props.routes}></Header>
                </header>
                <div>
                    <RouterView routes={this.props.routes}></RouterView>
                </div>
            </div>
        )
    }
}
